package com.woniuxy.mapper;

import com.woniuxy.entity.AdmissionForm;
import com.woniuxy.entity.Tde;
import com.woniuxy.entity.dto.AdmissionDTO;
import com.woniuxy.entity.dto.InHospitalDTO;
import com.woniuxy.entity.dto.QuerySickbedDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdmissionFormMapper {

    List<AdmissionForm> queryList(AdmissionDTO admissionDTO);

    List<Tde> queryTdeList();

    QuerySickbedDTO querySickbed(String deName);

    List<AdmissionForm> queryList();

    void addAdmissionForm(AdmissionForm admissionForm);


    //根据id修改ad表状态
    Integer updateAdStatus(InHospitalDTO inHospitalDTO);

    //查门诊科室
    List<Tde> queryOutList();

}
